import { setupPage } from '@/app/media/lib';

import { ready, getApiPath, assert } from '@/lib/utils';

(function () {
    ready(() => {
        const table_elem = document.getElementById("table");
        assert(table_elem, "Try to find table_elem with ID 'table' -- not found");

        const delete_selected_btn_elem = document.getElementById("delete_selected_files_btn");
        setupPage(getApiPath(), table_elem, delete_selected_btn_elem);
    });
})();


